<!-- ======== check player ===================== -->
<script type="text/javascript">
var wmpid="{6BF52A52-394A-11D3-B153-00C04F79FAA6}";
var rmid="{CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA}";
var qtid="{02BF25D5-8C17-4B23-BC80-D3488ABDDC6B}";

var wmpname="WMPlayer.OCX"; //"MediaPlayer.MediaPlayer.1"
var rmname="rmocx.RealPlayer G2 Control";
var qtname="QuickTime.QuickTime";

function checkplayer(){
	if(chkthis(wmpname)){
//		alert("wmp");
	}else if(chkthis(rmname)){
//		alert("real");
	}else if(chkthis(qtname)){
//		alert("quicktime");
	}else{
		alert("You don't have a valid player installed. please install windows mediaplayer OR realplayer OR Quicktime to play sound!");
	}
}
</script>
<script type="text/vbscript">
<!-- 
function chkthis(sname) 
	on error resume next 
	set tmp=CreateObject(sname) 
	if IsObject(tmp) then 
    		chkthis=true 
	else 
    		chkthis=false 
	end if 
end function 

checkplayer()
-->
</script>
<!-- ============================= -->
